package com.texplose.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : lyj
 * @Timer : 2022/5/17
 * @Description :
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Category {
    private int id;

    private String categoryName;

    private String categoryImg;

    /**
     * 父级分类id，根评论为0
     */
    private int parentId;

}
